import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

const store = new Vuex.Store({
	state:{
		searchResult:{}
	},
	mutations:{
		clear(state){
			state.searchResult.blogTitle = '';
			state.searchResult.tableData = [];
		}
	}
})

export default store